package org.dromara.crawler.mongo.mongodomain;


import com.mongoplus.annotation.ID;
import com.mongoplus.annotation.collection.CollectionName;
import com.mongoplus.enums.IdTypeEnum;
import lombok.Data;

import java.util.List;
import java.util.Map;
@Data
@CollectionName(value = "event_news",database = "NEWS")
public class EventNews {

    @ID(type = IdTypeEnum.OBJECT_ID)
    private String id;
    private String title;
    private String text;

    /**
     * 事件基本信息
     */
    private Map<String, List<Map<String, Object>>> label;

}
